package cn.xyf.mzmy.common.netty.config;

import cn.xyf.mzmy.common.netty.core.server.NettyWebSocketServer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class NettyConfig {
    @Bean
    public NettyWebSocketServer nettyWebSocketServer() {
        return new NettyWebSocketServer(); // 创建并返回 NettyWebSocketServer 实例
    }
}
